package entry;

public class Voucher {
    private Integer id;
    private String no;
    private Double amount;
    private Integer enterprise_id;
    private Integer open_enterprise_id;
    private Integer instituty_id;
    private String open_time;
    private String expiry_time;
    private String uplink_address;
    private String source;
    private String status;
    private Integer source_id;
    private String payment_interest_type;

    public Voucher(Integer id, String no, Double amount, Integer enterprise_id, Integer open_enterprise_id, Integer instituty_id, String open_time, String expiry_time, String uplink_address, String source, String status, Integer source_id, String payment_interest_type) {
        this.id = id;
        this.no = no;
        this.amount = amount;
        this.enterprise_id = enterprise_id;
        this.open_enterprise_id = open_enterprise_id;
        this.instituty_id = instituty_id;
        this.open_time = open_time;
        this.expiry_time = expiry_time;
        this.uplink_address = uplink_address;
        this.source = source;
        this.status = status;
        this.source_id = source_id;
        this.payment_interest_type = payment_interest_type;
    }

    public Voucher() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getEnterprise_id() {
        return enterprise_id;
    }

    public void setEnterprise_id(Integer enterprise_id) {
        this.enterprise_id = enterprise_id;
    }

    public Integer getOpen_enterprise_id() {
        return open_enterprise_id;
    }

    public void setOpen_enterprise_id(Integer open_enterprise_id) {
        this.open_enterprise_id = open_enterprise_id;
    }

    public Integer getInstituty_id() {
        return instituty_id;
    }

    public void setInstituty_id(Integer instituty_id) {
        this.instituty_id = instituty_id;
    }

    public String getOpen_time() {
        return open_time;
    }

    public void setOpen_time(String open_time) {
        this.open_time = open_time;
    }

    public String getExpiry_time() {
        return expiry_time;
    }

    public void setExpiry_time(String expiry_time) {
        this.expiry_time = expiry_time;
    }

    public String getUplink_address() {
        return uplink_address;
    }

    public void setUplink_address(String uplink_address) {
        this.uplink_address = uplink_address;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getSource_id() {
        return source_id;
    }

    public void setSource_id(Integer source_id) {
        this.source_id = source_id;
    }

    public String getPayment_interest_type() {
        return payment_interest_type;
    }

    public void setPayment_interest_type(String payment_interest_type) {
        this.payment_interest_type = payment_interest_type;
    }

    @Override
    public String toString() {
        return "voucher{" +
                "id=" + id +
                ", no='" + no + '\'' +
                ", amount=" + amount +
                ", enterprise_id=" + enterprise_id +
                ", open_enterprise_id=" + open_enterprise_id +
                ", instituty_id=" + instituty_id +
                ", open_time='" + open_time + '\'' +
                ", expiry_time='" + expiry_time + '\'' +
                ", uplink_address='" + uplink_address + '\'' +
                ", source='" + source + '\'' +
                ", status='" + status + '\'' +
                ", source_id=" + source_id +
                ", payment_interest_type='" + payment_interest_type + '\'' +
                '}';
    }
}
